package kr.co.doriclassic.pro09;

public class PlaneTest {
	public static void main(String[] args) {
		Plane p1 = new Plane();
		p1.setsCompany("KAI");
		p1.setsModel("KA-501");
		p1.setiPassenger(100);
		System.out.println(p1);
		
		Plane p2 = new Plane();
		p2.setsCompany("KARI");
		p2.setsModel("KR-711");
		p2.setiPassenger(80);
		System.out.println(p2);

		Plane p3 = new Plane();
		p3.setsCompany("보잉");
		p3.setsModel("B-5");
		p3.setiPassenger(250);
		System.out.println(p3);
		
		Plane p4 = new Plane("대한항공", "K-101", 150);
		System.out.println(p4);
		Plane p5 = new Plane("제주항공", "J-111", 100);
		System.out.println(p5);
		Plane p6 = new Plane("대구항공", "D-311", 100);
		System.out.println(p6);
		
		System.out.println("생산된 비행기의 수 : "+p6.getPlanes());
		
	}
}
